package com.sbw.tinysoft.core.entity;

import java.util.List;
import java.util.Set;

/**
 * 接口与其下方法关系
 * @Author: sangbowei
 * @Description: TODO
 * @Date: Created in  15:12 2017\12\6 0006
 **/
public class Service2Method {

    /**
     * 接口名称
     */
    private String service;

    /**
     * 接口中方法名
     */
    private List<String> methods;

    /**
     * 接口中方法对象，包含方法被调用的ips
     */
    private List<Method2Ips> method2Ips;

    /**
     * 接口被调用的项目列表
     * @return
     */
    private Set<String> projects;

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }

    public List<String> getMethods() {
        return methods;
    }

    public void setMethods(List<String> methods) {
        this.methods = methods;
    }

    public List<Method2Ips> getMethod2Ips() {
        return method2Ips;
    }

    public void setMethod2Ips(List<Method2Ips> method2Ips) {
        this.method2Ips = method2Ips;
    }

    public Set<String> getProjects() {
        return projects;
    }

    public void setProjects(Set<String> projects) {
        this.projects = projects;
    }
}
